package com.aefan.springcloud.alibaba.service;

import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

/**
 * @Author: jxl
 * @Date: 2021/9/21 下午10:20
 */
public interface AccountService {

    /** 扣减账户余额 */
    void decrease(@RequestParam("userId") Long userId, @RequestParam("money") BigDecimal money);

}
